﻿using Sheep_Breeding.ErrorCode;
using Sheep_Breeding.Write.Api.DTOSheep;

namespace Sheep_Breeding.Write.Api.OperationServices.IServices
{
    /// <summary>
    /// 羊场管理实现接口
    /// </summary>
    public interface ISheepfarmServices
    {
        /// <summary>
        /// 新增羊场信息
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<ApiResult> CreateSheepfarm(CreateSheepfarmDto dto);


        /// <summary>
        /// 修改羊场信息
        /// </summary>
        /// <returns></returns>
        Task<ApiResult> UpdateSheepfarm(UpdateSheepfarm dto);
    }
}
